// 表单校验规则由 schema2code 生成，不建议直接修改校验规则，而建议通过 schema2code 生成, 详情: https://uniapp.dcloud.net.cn/uniCloud/schema



const validator = {
	"level": {
		"rules": [{
				"format": "int"
			},
			{
				"range": [
					1,
					2,
					3,
					4,
					5,
					6,
					7,
					8,
					9
				]
			}
		]
	},
	"title": {
		"rules": [{
			"format": "string"
		}]
	},
	"sub_title": {
		"rules": [{
			"format": "string"
		}]
	},
	"desc": {
		"rules": [{
			"format": "string"
		}]
	},
	"icon": {
		"rules": [{
			"format": "string"
		}]
	},
	"day_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"hour_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"month_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"home_day_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"home_hour_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"home_month_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"organ_day_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"organ_hour_price": {
		"rules": [{
			"format": "int"
		}]
	},
	"organ_month_price": {
		"rules": [{
			"format": "int"
		}]
	}
}

const enumConverter = {}

export {
	validator,
	enumConverter
}
